package com.kelaite.procurement.dto;

// Generated 2016-3-6 15:13:23 by Hibernate Tools 3.4.0.CR1

import java.util.Date;

public class UserDTO {

	private Long id;

	private String realName;

	private CompanyDTO tCompany;

	private String username;

	private String password;

	private String accessToken;

	private String language;

	private String phone;

	private String mobilePhone;

	private String wechat;

	private short type;

	private String roleIds;

	private short isDelete;

	private Date gmtCreateTime;

	private Date gmtUpdateTime;

	private String createdBy;

	private String updatedBy;

	public UserDTO() {

	}

	public Long getId() {

		return id;
	}

	public void setId(Long id) {

		this.id = id;
	}

	public String getRealName() {

		return realName;
	}

	public void setRealName(String realName) {

		this.realName = realName;
	}

	public CompanyDTO gettCompany() {

		return tCompany;
	}

	public void settCompany(CompanyDTO tCompany) {

		this.tCompany = tCompany;
	}

	public String getUsername() {

		return username;
	}

	public void setUsername(String username) {

		this.username = username;
	}

	public String getPassword() {

		return password;
	}

	public void setPassword(String password) {

		this.password = password;
	}

	public String getAccessToken() {

		return accessToken;
	}

	public void setAccessToken(String accessToken) {

		this.accessToken = accessToken;
	}

	public String getLanguage() {

		return language;
	}

	public void setLanguage(String language) {

		this.language = language;
	}

	public String getPhone() {

		return phone;
	}

	public void setPhone(String phone) {

		this.phone = phone;
	}

	public String getMobilePhone() {

		return mobilePhone;
	}

	public void setMobilePhone(String mobilePhone) {

		this.mobilePhone = mobilePhone;
	}

	public String getWechat() {

		return wechat;
	}

	public void setWechat(String wechat) {

		this.wechat = wechat;
	}

	public short getType() {

		return type;
	}

	public void setType(short type) {

		this.type = type;
	}

	public String getRoleIds() {

		return roleIds;
	}

	public void setRoleIds(String roleIds) {

		this.roleIds = roleIds;
	}

	public short getIsDelete() {

		return isDelete;
	}

	public void setIsDelete(short isDelete) {

		this.isDelete = isDelete;
	}

	public Date getGmtCreateTime() {

		return gmtCreateTime;
	}

	public void setGmtCreateTime(Date gmtCreateTime) {

		this.gmtCreateTime = gmtCreateTime;
	}

	public Date getGmtUpdateTime() {

		return gmtUpdateTime;
	}

	public void setGmtUpdateTime(Date gmtUpdateTime) {

		this.gmtUpdateTime = gmtUpdateTime;
	}

	public String getCreatedBy() {

		return createdBy;
	}

	public void setCreatedBy(String createdBy) {

		this.createdBy = createdBy;
	}

	public String getUpdatedBy() {

		return updatedBy;
	}

	public void setUpdatedBy(String updatedBy) {

		this.updatedBy = updatedBy;
	}

	@Override
	public String toString() {

		return "UserDTO [id=" + id + ", realName=" + realName + ", tCompany="
				+ tCompany + ", username=" + username + ", password="
				+ password + ", accessToken=" + accessToken + ", language="
				+ language + ", phone=" + phone + ", mobilePhone="
				+ mobilePhone + ", wechat=" + wechat + ", type=" + type
				+ ", roleIds=" + roleIds + ", isDelete=" + isDelete
				+ ", gmtCreateTime=" + gmtCreateTime + ", gmtUpdateTime="
				+ gmtUpdateTime + ", createdBy=" + createdBy + ", updatedBy="
				+ updatedBy + "]";
	}

}
